<script setup lang="tsx">
import {ref} from "vue";
import Test2 from "@/views/Test2.vue";

const a = ref(123)

const hasCheckArr = ref(['1','2','3'])
const submit = (data) => {
  console.log(data)
}

</script>

<template>
<div>
    <p>test</p>
    <slot :msg="a"></slot>

    <Test2 :hasCheckArr="hasCheckArr" v-model:abc="a" @submit="submit"></Test2>

</div>
</template>

<style scoped>

</style>